﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DTO;
using DAO;


namespace BUS
{
    public class LoiMatHangBUS
    {

        public List<LoiMatHangDTO> LayDSLMH()
        {
            LoiMatHangDAO dao = new LoiMatHangDAO();

            return dao.LayDSLMH();

        }
        public int LayMaLoiMH(string ten)
        {
            LoiMatHangDAO lmhDAO = new LoiMatHangDAO();
            return lmhDAO.LayMaLoiMH(ten);
        }
    }
}

